SDEF
// -----------------------------------------------------------------------------
//  $Logfile:: /Quake 2 Engine/Sin/Base Sin Data/Models/Animals/rat.def       $
// $Revision:: 13                                                             $
//   $Author:: Markd                                                          $
//     $Date:: 11/07/98 2:03p                                                 $
//
// Copyright (C) 1998 by Ritual Entertainment, Inc.
// All rights reserved.
//
// This source may not be distributed and/or modified without
// expressly written permission by Ritual Entertainment, Inc.
//
// This is a model definition file.  It is to be used in conjunction with Sin.
//
// -----------------------------------------------------------------------------
// MODEL DESCRIPTION:
// Rats, why did it have to be rats.
//
// MODEL AUTHOR:
// Beau
//
/*SINED Animals_Rat (1 .5 0) (0 0 0) (0 0 0)
Rat
*/

// -----------------------------------------------------------------------------
// FILE DECLARATIONS
//
// Model Commands
path models/rat
origin 0 0 0
scale .25

// Base Model
ratbase.sbm

// Skins
normal	   ratskin.tga
// Do we need a damage skin for this?

// Normal Animations
idle           idle1.sam
run            run1.sam
melee          run1.sam
pain           run1.sam
death          idle1.sam
//test.sam

// Pain Location Based Animations

// Death Location Based Animations

// Optional Animations

// Scripted Animations

// Id And Group Definitions
id 20 group rat twosided
group rat damage 2.0

// -----------------------------------------------------------------------------
// INITIALIZATION SECTION
//
!init:
//
// SERVER Initialization Commands
//
// Class Setup
server classname rat
server script global/rat.scr
server setsize "-10 -10 0" "10 10 12"
server health 10
server noshadow
server meleerange 50
server meleedamage 5
server usebbox

client aliascache snd_idle1       "monsters/rat/idle.wav" 1
client aliascache snd_idle2        "monsters/rat/pain.wav" 1
client aliascache snd_pain1       "monsters/rat/pain.wav" 1
client aliascache snd_death1      "monsters/bat/batdeth1.wav" 1




// Sound Aliases

//
// CLIENT Initialization Commands
//
// Sound Aliases

// -----------------------------------------------------------------------------
// MAIN SECTION
//
!main:

client idle first randomsound snd_idle 1 4

client pain first randomsound snd_pain 1 2
server pain first painsound

client death first randomsound snd_death 1 2
server death first deathsound

server melee 1 melee

// Special Commands

// Normal Animations

// Pain Location Based Animations

// Death Location Based Animations

// Optional Animations

// -----------------------------------------------------------------------------
// SOURCESAFE Update Log
//
// $Log:: /Quake 2 Engine/Sin/Base Sin Data/Models/Animals/rat.def            $
// 
// 13    11/07/98 2:03p Markd
// Changed classname from actor to rat
//
// 12    10/20/98 4:11a Markd
//
// 11    9/21/98 11:42a Zak
// added rat sound anims
//
// 10    9/20/98 7:24p Joeske
// Reformatted the files.
//
//
// -----------------------------------------------------------------------------